package cn.iocoder.yudao.module.eval.controller.admin.employee.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 员工分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class EvalEmployeePageReqVO extends PageParam {

    @Schema(description = "员工编号", example = "EMP001")
    private String employeeCode;

    @Schema(description = "姓名", example = "张三")
    private String name;

    @Schema(description = "身份证号", example = "440123199001011234")
    private String idNumber;

    @Schema(description = "手机号", example = "13800138001")
    private String mobile;

    @Schema(description = "部门ID", example = "1")
    private Long deptId;

    @Schema(description = "岗位ID", example = "1")
    private Long postId;

    @Schema(description = "员工状态", example = "1")
    private Integer employeeStatus;

    @Schema(description = "学历", example = "6")
    private Integer education;

    @Schema(description = "职业技能等级", example = "高级技师")
    private String skillLevel;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
